import { AxiosResponse } from 'axios'

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export interface ResponseData<T = any, D = any> extends AxiosResponse<T> {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  [x: string]: any
  code?: number
  msg?: string
  data: T
  rows?: D
  total?: number
  userName?: string
  ip?: string
  token?: string
}